#include <stdio.h>
#include <assert.h>
void main(void)
{
	FILE *fd = fopen("/dev/tty", "rw");
	assert(fd >= 0);
	fprintf(fd, "hello world");
}
